﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MarvellousWorks.PracticalPatternNet8.Concept.Generics;

public static class RawGenericFactory
{
    public static T Create<T>(string typeNamer) where T : class
    {
        return (T)Activator.CreateInstance(Type.GetType(typeNamer)!)!;
    }
}
